package ca.etsmtl.log660.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Commande {

	private int commandeid;
	private Date datelocation;
	private Date dateretour;
	private Set<LigneCommande> lignecommandes = new HashSet<LigneCommande>(0);
	private Personne personnes;
	
	public Commande(){}
	
	public int getCommandeid() {
		return commandeid;
	}

	public void setCommandeid(int commandeid) {
		this.commandeid = commandeid;
	}

	public Date getDatelocation() {
		return datelocation;
	}

	public void setDatelocation(Date datelocation) {
		this.datelocation = datelocation;
	}

	public Date getDateretour() {
		return dateretour;
	}

	public void setDateretour(Date dateretour) {
		this.dateretour = dateretour;
	}
	
	public Set<LigneCommande> getLignecommandes() {
		return lignecommandes;
	}

	public void setLignescommandes(Set<LigneCommande> lignecommandes) {
		this.lignecommandes = lignecommandes;
	}
	
	public Personne getPersonnes() {
		return personnes;
	}

	public void setPersonnes(Personne personnes) {
		this.personnes = personnes;
	}
}
